package com.it.sun.learning001.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @ClassName com.it.sun.learning001.aop.CommonAop
 * @Author sunmannian
 * @Date 2021/6/23 17:01
 * @Version V1.0
 * Description  <请输入一句话描述该类功能>
 * Copyright (C) 北京中电兴发科技有限公司  since 2021/6/23
 */
@Component
@Aspect
public class CommonAop {

	@Before("execution(* com.it.sun.learning001..Car.*(..)))")
	public void before() {
		System.out.println("before");
	}


}



